package com.amsp.oa.oademo.service;

import com.amsp.oa.oademo.entity.Repair;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

public interface RepairService extends IService<Repair> {
    IPage<Repair> getRepairList(Page<Repair> page, String keyword, String status);
    Repair submitRepair(Repair repair);
    Repair updateRepair(Repair repair);
    void deleteRepair(Long id);
    Repair getRepairByNo(String repairNo);
    IPage<Repair> getMyRepairs(Page<Repair> page, String applicant);
    Repair handleRepair(Long id, String handlerName, String handleResult);
    Repair cancelRepair(Long id);
} 